package system

type Area struct {
	AreaId   int
	AreaName string
	Sort     byte
}

func (model *Area) TableName() string {
	return "sys_area"
}

type Province struct {
	ProvinceId   int
	AreaId       int
	ProvinceName string
	Sort         byte
}

func (model *Province) TableName() string {
	return "sys_province"
}

type City struct {
	CityId     int
	ProvinceId int
	CityName   string
	Zipcode    string
	Sort       byte
}

func (model *City) TableName() string {
	return "sys_city"
}

type District struct {
	DistrictId   int
	CityId       int
	DistrictName string
	Sort         int
}

func (model *District) TableName() string {
	return "sys_district"
}
